#ifndef DRAGWIDGET_H
#define DRAGWIDGET_H

#include <QObject>
#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include <QStyleOption>

class DragWidget : public QWidget
{
    Q_OBJECT
public:
    explicit DragWidget(QWidget *parent = nullptr);
signals:
    void changShow();
protected:
    void mouseDoubleClickEvent(QMouseEvent* event);
    void paintEvent(QPaintEvent *event);
};

#endif // DRAGWIDGET_H
